<template>
  <div class="layui-layout layui-layout-admin">
    <div class="adminnav1">
      <Pagetop></Pagetop>
    </div>
    <div class="adminnav2">
      <Secondnav urlname="homepage"></Secondnav>
    </div>
    <!-- 主体内容 -->
    <div class="layui-body kedou-admin" id="LAY_app_body app">
      <div class="layadmin-tabsbody-item layui-show">
        <div class="pagelist" style="padding:0">

          <div class="layui-tab layui-tab-card">
            <ul class="layui-tab-title">
              <li class="layui-this">安全密码设置</li>
              <li>设置管理员手机</li>
            </ul>
            <div class="layui-tab-content" style="padding:5px 0">
              <div class="layui-tab-item layui-show">

                <div class="layui-card-body cardbody">
                  <div class="layui-form" lay-filter="">
                    <div class="test1 mb-20">
                      <span>默认密码是管理员登录密码，请尽快修改</span>
                    </div>

                    <div class="item mb-20" data-key="agent">
                      <div class="_left">
                        <h4>代理数据安全密码</h4>
                        <div class="layui-form-item">
                          <label>
                            <input type="checkbox" lay-skin="primary" title="代理新增、开关及列表导出" checked="">
                            <input type="checkbox" lay-skin="primary" title="代理邀请关系导出">
                            <input type="checkbox" lay-skin="primary" title="代理进货关系导出">
                            <input type="checkbox" lay-skin="primary" title="代理顶级团关系导出">
                          </label>
                        </div>
                        <div class="layui-form-item">
                          <label>
                            <!-- <input type="checkbox" value="1">
                              代理新增、开关及列表导出 -->
                            <input type="checkbox" lay-skin="primary" title="大屏数据安全及高级设置">
                            <input type="checkbox" lay-skin="primary" title="代理审核列表导出">
                            <input type="checkbox" lay-skin="primary" title="奖励功能开关">
                            <input type="checkbox" lay-skin="primary" title="代理积分设置">
                          </label>
                        </div>
                      </div>
                      <div class="_right">
                        <button class="btn1">修改安全密码</button>
                      </div>
                    </div>

                    <div class="item mb-20">
                      <div class="_left">
                        <h4>订单数据安全密码</h4>
                        <div class="layui-form-item">
                          <label>
                            <!-- <input type="checkbox" value="1">
                              代理新增、开关及列表导出 -->
                            <input type="checkbox" lay-skin="primary" title="云仓库代理信息导入" checked="">
                            <input type="checkbox" lay-skin="primary" title="追溯功能开关">
                            <input type="checkbox" lay-skin="primary" title="订单发货、统计导出">
                            <input type="checkbox" lay-skin="primary" title="云仓库代理库存增减">
                          </label>
                        </div>
                      </div>
                      <div class="_right">
                        <button class="btn1">修改安全密码</button>
                      </div>
                    </div>

                    <div class="item mb-20">
                      <div class="_left">
                        <h4>财务操作安全密码</h4>
                        <div class="layui-form-item">
                          <label>
                            <!-- <input type="checkbox" value="1">
                              代理新增、开关及列表导出 -->

                            <input type="checkbox" lay-skin="primary" title="准代理付款审核" checked="">
                            <input type="checkbox" lay-skin="primary" title="代理提现审核">
                            <input type="checkbox" lay-skin="primary" title="代理账户变更操作">
                            <input type="checkbox" lay-skin="primary" title="代理线下充值审核">
                          </label>

                        </div>

                        <div class="layui-form-item">
                          <label>
                            <!-- <input type="checkbox" value="1">
                              代理新增、开关及列表导出 -->
                            <input type="checkbox" lay-skin="primary" title="保证金缴纳审核" checked="">
                            <input type="checkbox" lay-skin="primary" title="线下打款订单">
                            <input type="checkbox" lay-skin="primary" title="线下奖励提取审核">
                            <input type="checkbox" lay-skin="primary" title="收入充值货款审核">
                          </label>
                        </div>

                        <div class="layui-form-item">
                          <label>
                            <!-- <input type="checkbox" value="1">
                              代理新增、开关及列表导出 -->
                            <input type="checkbox" lay-skin="primary" title="分享商提现审核" checked="">
                            <input type="checkbox" lay-skin="primary" title="收款账号修改">
                            <input type="checkbox" lay-skin="primary" title="代理升级付款审核">

                          </label>
                        </div>
                      </div>
                      <div class="_right">
                        <button class="btn1">修改安全密码</button>
                      </div>
                    </div>

                    <div class="item mb-20" data-key="agent">
                      <div class="_left">
                        <h4>财务导出安全密码</h4>
                        <div class="layui-form-item">
                          <label>
                            <input type="checkbox" lay-skin="primary" title="代理收入明细" checked="">
                            <input type="checkbox" lay-skin="primary" title="代理贷款明细">
                            <input type="checkbox" lay-skin="primary" title="总部收入明细">
                            <input type="checkbox" lay-skin="primary" title="总部待结算资金记录">
                          </label>
                        </div>
                        <div class="layui-form-item">
                          <label>
                            <!-- <input type="checkbox" value="1">
                              代理新增、开关及列表导出 -->
                            <input type="checkbox" lay-skin="primary" title="采购订单收益">
                            <input type="checkbox" lay-skin="primary" title="客户订单收益">
                            <input type="checkbox" lay-skin="primary" title="代理提现申请明细">
                          </label>
                        </div>
                      </div>
                      <div class="_right">
                        <button class="btn1">修改安全密码</button>
                      </div>
                    </div>

                    <div class="layui-form-item">
                      <div class="layui-input-block">
                        <button type="button" class="layui-btn layui-btn-normal">保存</button>
                      </div>
                    </div>
                  </div>
                </div>
              </div>

              <div class="layui-tab-item">
                <div class="layui-form" lay-filter="">
                  <div class="test1 mb-20">
                    <span>
                      设置管理员手机后，修改安全密码等功能获取验证码时，不需要再向预留的老板手机号获取，只需通过管理员手机号码即可！
                    </span>
                  </div>
                  <div class="layui-form-item">
                    <label class="layui-form-label">管理员手机号码：</label>
                    <button type="button" class="layui-btn layui-btn-normal" @click="setData">设置</button>
                  </div>

                </div>

              </div>
            </div>
          </div>

        </div>

      </div>
    </div>

  </div>
</template>
<script>
import Pagetop from "../common/pagetop.vue";
import Secondnav from "../common/secondnav.vue";
export default {
  name: "pwdset",
  components: { Pagetop, Secondnav },
  data () {
    return {

    };
  },
  mounted () {
    layui.use('element', function () {
      var element = layui.element;
    })
  },
  methods: {
    getdate: function () {
    },
    setData: function () {
      var _this = this;
      layer.open({
        type: 2
        , title: '信息'
        , content: 'http://localhost:8080/#/pwdsetset'
        , area: ['50%', '40%']
      });
    },
    updated: function () {
      layui.use(["form", "table"], function () {
        var form = layui.form
          , table = layui.table;
        form.render();
      })
    }
  },
};
</script>
<style scoped>
.test1 {
  color: #db4631;
  background: #f7f7f7;
  border: 1px solid #e6e6e6;
  padding: 20px;
  line-height: 26px;
}
.mb-20 {
  margin-bottom: 20px;
}
.layui-form-label {
  width: 120px;
}
.layui-input-block {
  margin-left: 10px;
  min-height: 60px;
}
._left {
  flex: 5;
  float: left;
  width: 25%;
}
._right {
  float: right;
}
.layui-form-item {
  line-height: 26px;
}
.item {
  background: #f8f8f8;
  padding: 20px;
  line-height: 26px;
  display: flex;
  align-items: center;
}
.btn1 {
  display: inline-block;
  padding: 0 20px;
  height: 34px;
  line-height: 34px;
  border-radius: 4px;
  background: #fff;
  color: #333;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 14px;
  border: 1px solid #e8e8e8;
}

/*二级导航*/
</style>